﻿namespace ArisanNgocok.Models
{
   using System;
   using System.ComponentModel.DataAnnotations;

   public class Payment
   {
	  [Key]
	  public Guid Id { get; set; }

	  public int Year { get; set; }
	  
	  public int Month { get; set; }
	  
	  public DateTime  CreationDate { get; set; }

	  public DateTime? ModifiedDate { get; set; }

	  public User User { get; set; }
	  
	  public bool IsPaid { get; set; }

	  public Payment()
	  {
		 Id = Guid.NewGuid();
		 CreationDate = DateTime.UtcNow;
	  }
   }
}